package com.rw.map.dao;

import com.rw.map.model.NavigateVO;
import com.rw.map.model.PersonInfo;
import com.rw.map.model.PersonLines;
import com.rw.map.model.PersonlinesVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 
 * @author forest
 *
 */
@Mapper
public interface NavigateDao {

	int batchInsertPerson(@Param("personList")List<PersonInfo> personList);
	
	int batchInsertUserLines(@Param("linesList") List<PersonLines> linesList);

    void delPerson(PersonInfo p);
	
	void delLines(PersonInfo p);
	
	List<NavigateVO> getPersonInfoByLastDataId(PersonInfo p);
	
	List<PersonlinesVO> getGroupLines(PersonInfo p);
	
	List<PersonlinesVO> getLinesByGroup(PersonInfo p);
	
}
